projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8f1ea7
)
* term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.
author
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 7 Sep 2007 03:56:26 +0000
(
03:56
+0000)
committer
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 7 Sep 2007 03:56:26 +0000
(
03:56
+0000)
src/ChangeLog
patch
|
blob
|
history
src/term.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 7fc05c40994698d4b9b6563701c561f597f34bc4..918b7bd191fd42b287f07e72222674c625f5030b 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change)
+
+ * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN.
+
2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
* window.c (Vsplit_window_preferred_function): New var.
diff --git
a/src/term.c
b/src/term.c
index 98d3b8683496cd7cc9a498b48a296ca4813e8a68..2ed6435c34459855b6976fc5fda7c6cd747ecab9 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-3130,6
+3130,9
@@
dissociate_if_controlling_tty (int fd)
#if defined (USG) && !defined (BSD_PGRPS)
setpgrp ();
no_controlling_tty = 1;
+#elif defined (CYGWIN)
+ setsid ();
+ no_controlling_tty = 1;
#else
#ifdef TIOCNOTTY /* Try BSD ioctls. */
sigblock (sigmask (SIGTTOU));